You are here: Protection monitoring > SNMP > Configuring SNMP on your server

Configuring SNMP on your server

SNMP must be installed, configured, and working on your server.

  1. Stop the SNMP daemon (snmpd).
  2. Make a backup copy of the SNMP configuration file snmpd.conf.
  3. In order to run the Double-Take Availability sub-agent, master agentx is needed to turn on agentx. Add the master agent line to snmpd.conf.

master agentx

  1. So that the SNMP daemon can locate the Double-Take Availability MIB, add the path to the Double-Take Availability MIB by adding an entry to the snmp.conf file.

mibfile /usr/share/snmp/mibs/NSI-DT-MIB.txt

  1. Restart the SNMP daemon (snmpd).
  2. Start the master agent.

#snmpd -f -Le -x /var/agentx/master &

  1. Start the Double-Take Availability SNMP sub-agent.

#DTSubAgent >& /dev/null &

Note: Instead of starting the master agent and Double-Take Availability sub-agent separately, you can add them both to init.d to start them automatically.
  1. You can test SNMP by trying either of the following commands.

#snmpget -v2c -c public localhost dtGeneral.dtUpTime.0

#snmpget -v2c -c public localhost NSI-MIB::dtUpTime

Related Topics